package myJfram;

import java.awt.BorderLayout;
import java.awt.EventQueue;

import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import java.awt.TextField;
import java.awt.Panel;
import javax.swing.JButton;
import javax.swing.JEditorPane;
import javax.swing.JTable;
import java.awt.Button;
import java.awt.Choice;
import java.awt.ScrollPane;
import java.awt.Scrollbar;
import javax.swing.JLayeredPane;
import javax.swing.JToolBar;
import javax.swing.JTextField;
import java.awt.GridLayout;
import java.awt.GridBagLayout;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;

public class TestCaculator extends JFrame {

	private JPanel contentPane;
	private JTextField textField;
	private JTextField textField_1;

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					TestCaculator frame = new TestCaculator();
					frame.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the frame.
	 */
	public TestCaculator() {
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setBounds(100, 100, 942, 765);
		
		textField_1 = new JTextField();
		getContentPane().add(textField_1, BorderLayout.NORTH);
		textField_1.setColumns(10);
		
		Panel panel = new Panel();
		getContentPane().add(panel, BorderLayout.CENTER);
		panel.setLayout(new GridLayout(4, 1, 0, 0));
		
		JButton btnNewButton_1 = new JButton("New button");
		btnNewButton_1.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent arg0) {
			}
		});
		panel.add(btnNewButton_1);
		
		Button button = new Button("New button");
		panel.add(button);
		
		Button button_1 = new Button("New button");
		panel.add(button_1);
		
		Button button_2 = new Button("New button");
		panel.add(button_2);
		
		Button button_4 = new Button("New button");
		panel.add(button_4);
		
		JButton btnNewButton = new JButton("New button");
		panel.add(btnNewButton);
		
		Button button_7 = new Button("New button");
		panel.add(button_7);
		
		Button button_3 = new Button("New button");
		panel.add(button_3);
		
		Button button_6 = new Button("New button");
		panel.add(button_6);
		
		Button button_5 = new Button("New button");
		panel.add(button_5);
		
		Button button_8 = new Button("New button");
		panel.add(button_8);
		
		Button button_9 = new Button("New button");
		panel.add(button_9);
		 
		textField = new JTextField();
		contentPane.add(textField);
		textField.setColumns(20);
		 
	}

}
